package com.example.teach.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName(value="category")
public class Category {
    @TableId(value="id",type= IdType.AUTO)
    private Integer id;
    private String name; //分类名称
}
